package com.macro.mall.portal.service;


import com.alibaba.fastjson.JSONObject;
import com.macro.mall.model.ExExamPapper;
import com.macro.mall.portal.vo.ExExamPapperSaveVO;

import java.util.List;
import java.util.Map;


public interface ExExamPapperService {

    ExExamPapper getById(Long id) throws Exception;

    JSONObject submitExam(ExExamPapperSaveVO examPapper) throws Exception;
    List<Map<String,Object>> getCertificateList(Map<String,Object> paramMap)  throws Exception;

    String isPassByTrainingId(Integer trainingId);

    String isPassByUserIdAndTrainingId(Integer trainingId,Long userId)  throws Exception;
}
